package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网元-业务-mpls-qos流量监管对象 element_busi_mpls_qosflow
 *
 * @author net
 * @date 2024-11-30
 */
public class ElementBusiMplsQosflow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** PMLS-TP业务ID */
    @Excel(name = "PMLS-TP业务ID")
    @ApiModelProperty(value = "PMLS-TP业务ID")
    private String mplstpId;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** 流量监管使能 */
    @Excel(name = "流量监管使能")
    @ApiModelProperty(value = "流量监管使能")
    private String flowEnable;

    /** CIR(Kpbs) */
    @Excel(name = "CIR(Kpbs)")
    @ApiModelProperty(value = "CIR(Kpbs)")
    private String cir;

    /** PIR(Kpbs) */
    @Excel(name = "PIR(Kpbs)")
    @ApiModelProperty(value = "PIR(Kpbs)")
    private String pir;

    /** CBS(KB) */
    @Excel(name = "CBS(KB)")
    @ApiModelProperty(value = "CBS(KB)")
    private String cbs;

    /** PBS(KB) */
    @Excel(name = "PBS(KB)")
    @ApiModelProperty(value = "PBS(KB)")
    private String pbs;

    /** CM颜色识别 */
    @Excel(name = "CM颜色识别")
    @ApiModelProperty(value = "CM颜色识别")
    private String cmColor;

    /** 绿色动作 */
    @Excel(name = "绿色动作")
    @ApiModelProperty(value = "绿色动作")
    private String greenAction;

    /** 绿色重映射服务等级 */
    @Excel(name = "绿色重映射服务等级")
    @ApiModelProperty(value = "绿色重映射服务等级")
    private String greenToLevel;

    /** 绿色重映射颜色 */
    @Excel(name = "绿色重映射颜色")
    @ApiModelProperty(value = "绿色重映射颜色")
    private String greenToColor;

    /** 黄色动作 */
    @Excel(name = "黄色动作")
    @ApiModelProperty(value = "黄色动作")
    private String yellowAction;

    /** 黄色重映射服务等级 */
    @Excel(name = "黄色重映射服务等级")
    @ApiModelProperty(value = "黄色重映射服务等级")
    private String yellowToLevel;

    /** 黄色重映射颜色 */
    @Excel(name = "黄色重映射颜色")
    @ApiModelProperty(value = "黄色重映射颜色")
    private String yellowToColor;

    /** 红色动作 */
    @Excel(name = "红色动作")
    @ApiModelProperty(value = "红色动作")
    private String redAction;

    /** 红色重映射服务等级 */
    @Excel(name = "红色重映射服务等级")
    @ApiModelProperty(value = "红色重映射服务等级")
    private String redToLevel;

    /** 红色重映射颜色 */
    @Excel(name = "红色重映射颜色")
    @ApiModelProperty(value = "红色重映射颜色")
    private String redToColor;

    /** 颜色动作使能 */
    @Excel(name = "颜色动作使能")
    @ApiModelProperty(value = "颜色动作使能")
    private String colorEnable;

    /** 路径类型（工作、保护、备用-） */
    @Excel(name = "路径类型", readConverterExp = "1=工作、2=保护 3=备用")
    @ApiModelProperty(value = "路径类型")
    private String routeType;

    /** 是否为模版（Y:是 N:否） */
    @Excel(name = "是否为模版", readConverterExp = "Y=:是,N=:否")
    @ApiModelProperty(value = "是否为模版")
    private String templateFlag;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setMplstpId(String mplstpId)
    {
        this.mplstpId = mplstpId;
    }

    public String getMplstpId()
    {
        return mplstpId;
    }
    public void setElementId(String elementId)
    {
        this.elementId = elementId;
    }

    public String getElementId()
    {
        return elementId;
    }
    public void setFlowEnable(String flowEnable)
    {
        this.flowEnable = flowEnable;
    }

    public String getFlowEnable()
    {
        return flowEnable;
    }
    public void setCir(String cir)
    {
        this.cir = cir;
    }

    public String getCir()
    {
        return cir;
    }
    public void setPir(String pir)
    {
        this.pir = pir;
    }

    public String getPir()
    {
        return pir;
    }
    public void setCbs(String cbs)
    {
        this.cbs = cbs;
    }

    public String getCbs()
    {
        return cbs;
    }
    public void setPbs(String pbs)
    {
        this.pbs = pbs;
    }

    public String getPbs()
    {
        return pbs;
    }
    public void setCmColor(String cmColor)
    {
        this.cmColor = cmColor;
    }

    public String getCmColor()
    {
        return cmColor;
    }
    public void setGreenAction(String greenAction)
    {
        this.greenAction = greenAction;
    }

    public String getGreenAction()
    {
        return greenAction;
    }
    public void setGreenToLevel(String greenToLevel)
    {
        this.greenToLevel = greenToLevel;
    }

    public String getGreenToLevel()
    {
        return greenToLevel;
    }
    public void setGreenToColor(String greenToColor)
    {
        this.greenToColor = greenToColor;
    }

    public String getGreenToColor()
    {
        return greenToColor;
    }
    public void setYellowAction(String yellowAction)
    {
        this.yellowAction = yellowAction;
    }

    public String getYellowAction()
    {
        return yellowAction;
    }
    public void setYellowToLevel(String yellowToLevel)
    {
        this.yellowToLevel = yellowToLevel;
    }

    public String getYellowToLevel()
    {
        return yellowToLevel;
    }
    public void setYellowToColor(String yellowToColor)
    {
        this.yellowToColor = yellowToColor;
    }

    public String getYellowToColor()
    {
        return yellowToColor;
    }
    public void setRedAction(String redAction)
    {
        this.redAction = redAction;
    }

    public String getRedAction()
    {
        return redAction;
    }
    public void setRedToLevel(String redToLevel)
    {
        this.redToLevel = redToLevel;
    }

    public String getRedToLevel()
    {
        return redToLevel;
    }
    public void setRedToColor(String redToColor)
    {
        this.redToColor = redToColor;
    }

    public String getRedToColor()
    {
        return redToColor;
    }
    public void setColorEnable(String colorEnable)
    {
        this.colorEnable = colorEnable;
    }

    public String getColorEnable()
    {
        return colorEnable;
    }
    public void setRouteType(String routeType)
    {
        this.routeType = routeType;
    }

    public String getRouteType()
    {
        return routeType;
    }
    public void setTemplateFlag(String templateFlag)
    {
        this.templateFlag = templateFlag;
    }

    public String getTemplateFlag()
    {
        return templateFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("mplstpId", getMplstpId())
                .append("elementId", getElementId())
                .append("flowEnable", getFlowEnable())
                .append("cir", getCir())
                .append("pir", getPir())
                .append("cbs", getCbs())
                .append("pbs", getPbs())
                .append("cmColor", getCmColor())
                .append("greenAction", getGreenAction())
                .append("greenToLevel", getGreenToLevel())
                .append("greenToColor", getGreenToColor())
                .append("yellowAction", getYellowAction())
                .append("yellowToLevel", getYellowToLevel())
                .append("yellowToColor", getYellowToColor())
                .append("redAction", getRedAction())
                .append("redToLevel", getRedToLevel())
                .append("redToColor", getRedToColor())
                .append("colorEnable", getColorEnable())
                .append("routeType", getRouteType())
                .append("templateFlag", getTemplateFlag())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
